# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python


class Recipe(recipe.Recipe):
    name = 'freetype'
    version = '2.7'
    stype = SourceType.TARBALL
    url = 'http://download.savannah.gnu.org/releases/freetype/freetype-2.7.tar.bz2'
    licenses = [License.FreeType]
    configure_tpl = "%(config-sh)s --prefix=%(prefix)s --libdir=%(libdir)s --with-harfbuzz=no"
    deps = ['zlib', 'bzip2', 'libpng']

    files_libs = ['libfreetype']
    files_devel = ['bin/freetype-config',
                   'lib/pkgconfig/freetype2.pc',
                   'include/freetype2',
                   'share/aclocal/freetype2.m4']
